import request from '@/utils/request'

export function getAll(params) {
  return request({
    url: '/api/inspection',
    method: 'get',
    params
  })
}

export function getDates(params) {
  return request({
    url: '/api/inspection/' + id,
    method: 'get'
  })
}